<%--
  Created by IntelliJ IDEA.
  User: AdrianJ
  Date: 2024/6/10
  Time: 22:02
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<%--get error message from request--%>
<%
    String errorMessage = (String) request.getAttribute("error");
    if (errorMessage == null) {
        errorMessage = "Unknown error";
    }
%>
<html>
<head>
    <title>ERROR!</title>
</head>
<body>
<h1>ERROR!</h1>
<p><%= errorMessage %></p>
</body>
</html>
